Reference parameters allow users to select a result from a different
tool to use as a parameter for the current tool. A reference parameter
targets one or more result types, and is shown as a ui-control
populated with all tool results that match the specified types.
A tool which references a result from another tool will execute after
that tool.
The value of a result reference parameter should be passed as the
argument to input:getResult in execute
to retrieve the value of the currently selected result:
The reference choice is presented as a drop down menu in the user
interface, with a None option and the names of results of matching
type for all tools in the same job:
The appearance of a parameter with type=Tool.reference(“Point”) in the tool panel.
Note
Result references can also be used as elements in enum
parameters.